class BannerModel{
  String img;
  String link;
  String type;
  BannerModel({this.img,this.link,this.type});
  BannerModel.fromJson(Map<String, dynamic> json) {
    img = json['img'];
    link = json['link'];
    type = json['type'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['img'] = this.img;
    data['link'] = this.link;
    data['type'] = this.type;
    return data;
  }
}
class NoticeModel{
  String content;
  String time;
  String id;
  String title;
  bool is_pop;
  NoticeModel({this.content,this.time,this.id,this.title,this.is_pop});
  NoticeModel.fromJson(Map<String, dynamic> json) {
    content = json['content'];
    time = json['time'];
    id = json['id'];
    title = json['title'];
    is_pop = json['is_pop'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['content'] = this.content;
    data['time'] = this.time;
    data['id'] = this.id;
    data['title'] = this.title;
    data['is_pop'] = this.is_pop;
    return data;
  }
}


class LanguageModel{
  String id;
  String country;
  String language;
  LanguageModel({this.id,this.country,this.language});
  LanguageModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    country = json['country'];
    language = json['language'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['country'] = this.country;
    data['language'] = this.language;
    return data;
  }
}